package chapter14;

/**
 * @author : DuJiabao
 * @Date : 2021/2/24 22:06
 * @Project : thinking-in-java
 * @File : null.java
 * @Desc :
 */
public class ClassTest {
  public static void main(String[] args) {
    Class<Boolean> type = Boolean.TYPE;
    Class<Boolean> booleanClass = boolean.class; // 两者等效
    Class<Boolean> booleanClass1 = Boolean.class;
    System.out.println(type == booleanClass);  // true
    System.out.println(type == booleanClass1);  // false
  }
}
